package cn.iot.sys.service;

import cn.iot.common.dto.ResultMsg;
import cn.iot.sys.entity.SysLeaveApplication;

import java.util.List;
import java.util.Map;

public interface SysLeaveApplicationService {
    public ResultMsg getSysLeaveApplicationList(Map<String,Object> map);
    public ResultMsg getCount(Map<String,Object> map);
    public ResultMsg addSysLeaveApplication(SysLeaveApplication sysLeaveApplication);
    public ResultMsg updSysLeaveApplication(int id);
    public ResultMsg getPendingList(Map<String,Object> map);
    public ResultMsg getProcessedList(Map<String,Object> map);
    public ResultMsg reject(SysLeaveApplication sysLeaveApplication);
    public ResultMsg approve(SysLeaveApplication sysLeaveApplication);

}
